﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using UnityEngine;

namespace TTUnityPlugin {
    public enum LoadState
    {
        State_None = 0,
        State_Loading = 1,
        State_Error = 2,
        State_Complete = 3
    }

public class AssetBundleInfo { };

public class AssetBundleManager : MonoBehaviour
{
    public delegate void LoadAssetCompleteHandler(AssetBundleInfo info);

    public AssetBundleLoader LoadRes(string resName, LoadAssetCompleteHandler handler = null, bool async = false) {
        AssetBundleLoader loader = new MobileAssetBundleLoader(async);
        return loader;
    }
}
}
